package lk.icta.common.dao;

import lk.icta.common.entity.President;
import lk.icta.user.entity.User;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: root
 * Date: 10/17/12
 * Time: 12:02 PM
 * To change this template use File | Settings | File Templates.
 */
public interface PresidentDAO {


    /**
     * Add a new president
     *
     * @param president president to be marked
     * @param user      user executing the operation
     */
    public void addPresident(President president, User user);

    /**
     * Update a President
     *
     * @param president President to be updated
     * @param user      user executing the operation
     */
    public void updatePresident(President president, User user);

    /**
     * Deleting a Contact
     *
     * @param president President to be deleted
     * @param user      User requesting to delete the contact
     */
    public void deletePresident(President president, User user);

    public List<President> getCurrentPresident();

}
